/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.modules.assessment.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.fosung.frame.common.persistence.Page;
import com.fosung.frame.common.service.CrudService;
import com.fosung.frame.modules.assessment.entity.AssessmentTime;
import com.fosung.frame.modules.partytype.entity.PartyType;
import com.fosung.frame.modules.assessment.dao.AssessmentTimeDao;

/**
 * 考核期Service
 * @author wu
 * @version 2017-08-29
 */
@Service
@Transactional(readOnly = true)
public class AssessmentTimeService extends CrudService<AssessmentTimeDao, AssessmentTime> {

	@Autowired
	private AssessmentTimeDao dao;
	
	public AssessmentTime get(String id) {
		return super.get(id);
	}
	
	public List<AssessmentTime> findList(AssessmentTime assessmentTime) {
		return super.findList(assessmentTime);
	}
	
	public Page<AssessmentTime> findPage(Page<AssessmentTime> page, AssessmentTime assessmentTime) {
		return super.findPage(page, assessmentTime);
	}
	
	@Transactional(readOnly = false)
	public void save(AssessmentTime assessmentTime) {
		super.save(assessmentTime);
	}
	
	@Transactional(readOnly = false)
	public void delete(AssessmentTime assessmentTime) {
		super.delete(assessmentTime);
	}
	public AssessmentTime check(AssessmentTime assessmentTime) {
		return dao.check(assessmentTime);
	}
}